package com.chushouya.order.dto.api.clerk.action;

import com.chushouya.order.constants.ClerkOrderActionEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("业务员订单撤单申请")
@Data
public class ClerkOrderBackoutRequestAction extends ClerkBaseAction {

    public ClerkOrderBackoutRequestAction() {
        super.setOrderAction(ClerkOrderActionEnum.CLERK_BACKOUT);
    }

    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @ApiModelProperty("订单ID")
    @NotNull(message = "撤单原因不能为空")
    private String backoutRemark;

    @NotNull(message = "撤单图片,如沟通微信截图")
    private String backoutImages;

}
